﻿GRoute = function()
{    
    /// <summary>
	///	GRoute has no constructor.
	/// </summary> 
}

GRoute.prototype =
{   
    // ====================================================================================
    // Methods
    // ====================================================================================
    getNumSteps : function()
    {
        /// <summary>Returns the number of steps in this route. (Since 2.81)</summary>
        /// <returns type="Number"></returns>
    },
    
    getStep : function(index)
    {
        /// <summary>Return the GStep object for the index step in this route. (Since 2.81)</summary>
        /// <param name="index" type="Number">Index of the step in this route that we want to retrieve</param>
        /// <returns type="GStep"></returns>
    },
    
    getStartGeocode : function()
    {
        /// <summary>Return the geocode result for the starting point of this route. The structure of this object is identical to that of a single placemark in a response from the GClientGeocoder object. (Since 2.83)</summary>
        /// <returns type="Object"></returns>
    },
    
    getEndGeocode : function()
    {
        /// <summary>Return the geocode result for the ending point of this route. The structure of this object is identical to that of a single placemark in a response from the GClientGeocoder object. (Since 2.83)</summary>
        /// <returns type="Object"></returns>
    },
    
    getEndLatLng : function()
    {
        /// <summary>Returns a GLatLng object for the last point along the polyline for this route. Note that this point may be different from the lat,lng in GRoute.getEndGeocode() because getEndLatLng() always returns a point that is snapped to the road network. There is no corresponding getStartLatLng() method because that is identical to calling GRoute.getStep(0).getLatLng(). (Since 2.81)</summary>
        /// <returns type="GLatLng"></returns>
    },
    
    getSummaryHtml : function()
    {
        /// <summary>Returns an HTML snippet containing a summary of the distance and time for this route. (Since 2.81)</summary>
        /// <returns type="String"></returns>
    },
    
    getDistance : function()
    {
        /// <summary>Returns an object literal representing the total distance of this route. See GDirections.getDistance() for the structure of this object. (Since 2.81)</summary>
        /// <returns type="Object"></returns>
    },
    
    getDuration : function()
    {
        /// <summary>Returns an object literal representing the total time of this route. See GDirections.getDuration() for the structure of this object. (Since 2.81)</summary>
        /// <returns type="Object"></returns>
    }
}
